package model

import (
	"gorm.io/gorm"
	"time"
)

type Location struct {
	ID                  uint `gorm:"primarykey;default id_generator()"`
	CreatedAt           time.Time
	UpdatedAt           time.Time
	DeletedAt           gorm.DeletedAt `gorm:"index"`
	VehicleId           *string        `gorm:"index"`
	Lat                 *float64
	Lon                 *float64
	LocationDescription *string
	Mileage             *string
	GPS_speed           *float64
}
